package com.hd.entity.activiti;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 节点定义
 * @author hzhh123
 * 2018年8月2日下午9:27:00
 */
@Entity
@Table(name="act_element_def")
public class ElementDef implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -6652760124344087721L;
	@Id
	private String id;
	/**
	 * 节点名称
	 */
	private String name;
	/**
	 * 节点id/key
	 */
	@Column(name="key_")
	private String key;
	/**
	 * 流程定义ID
	 */
	@Column(name="procdef_id")
	private String procdefId;
	/**
	 * 节点类型
	 * StartEvent
	 * UserTask
	 * EndEvent
	 */
	@Column(name="element_type")
	private String elementType;
	/**
	 * 是否打印
	 */
	@Column(name="is_print")
	private boolean isPrint;
	
	private Integer seq;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getProcdefId() {
		return procdefId;
	}
	public void setProcdefId(String procdefId) {
		this.procdefId = procdefId;
	}
	public String getElementType() {
		return elementType;
	}
	public void setElementType(String elementType) {
		this.elementType = elementType;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public Integer getSeq() {
		return seq;
	}
	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public boolean isPrint() {
		return isPrint;
	}

	public void setPrint(boolean print) {
		isPrint = print;
	}
}
